<!DOCTYPE html>
<script>
window.onload = function() {
    if (window.testRunner)
        testRunner.dumpAsText();

    document.documentElement.style.display = "none";

    // Zoom so that the window becomes scrollable.
    if (window.internals)
        internals.setPageScaleFactor(2.0);

    window.scrollBy(0, 1);

    document.documentElement.style.display = "inline";
}
</script>

<div>This test passes if it does not crash.</div>
